package com.yunhe.java.Day09;

/**
 * Created by Administrator on 2017/8/2 0002.
 */
public class stringbuffer {
    public static void main(String[] args) {
      int [] aa={1,2,3,4};

        StringBuffer sbf=new StringBuffer("aaa");
        sbf.append("1").append("2").append("3").append(4);
        System.out.println(sbf);
        sbf.insert(2,"6BBB");
        System.out.println(sbf);
        System.out.println(sbf.deleteCharAt(3));
        System.out.println("反转后"+sbf.reverse());
        System.out.println(sbf.delete(1,4));



    }

}
